{% extends "base.html" %}

{% block title %}iCoach - Edit Profile{% endblock %}

{% block content %}
	<h3>Register</h3><br />                                                             
	<form id="register" action="/profile/{{ user }}" method="post">
		<table>
			<tbody>{{ ProfileForm }}</tbody>
			<tbody>
				<tr><td>&nbsp;</td><td><button id="create" type="submit">Update Account</button></td></tr>
			</tbody>			
		</table>
				
		<!--<label id="update"></label>
		<table id="register">
			<tr>
				<td><span class="step">1 . Tell us about yourself...</span></td>                                            
			</tr>
			<tr><td>&nbsp;</td></tr>                                        
			<tr>                                            
				<td><span id="namelabel">My Name</span><input type="text" id="name" name="name" maxlength="30" /></td>					    
			</tr>
			<tr><td>&nbsp;</td></tr>
			<td>Birthday<input type="text" id="bday" maxlength="10" />i.e. MM/DD/YYYY</td>
			<tr><td>&nbsp;</td></tr>
			<tr>
			    <td>Phone Carrier <select id="phone_car">
									<option value="ATT">AT&amp;T</option>
									<option value="Verizon">Verizon</option>
									<option value="Verizon">Sprint</option>
									<option value="Verizon">Alltel</option>
									<option value="Verizon">T-Mobile</option>
							      </select></td>						                        
            </tr>
            <tr><td>&nbsp;</td></tr>
			<tr>
			    <td>Phone Number <input type="text" id="phone_num" maxlength="12" />i.e. 999-999-9999</td>	
			</tr>
			<tr><td>&nbsp;</td></tr>
			<tr>
				<td>Due Date <input type="text" id="due_date" maxlength="10" />i.e. MM/DD/YYYY</td>
			</tr>
			<tr><td>&nbsp;</td></tr>
			<tr>
				<td>Pre-pregnacy Weight <input type="text" id="pre_weight" maxlength="3" /></td>
			</tr>
			<tr><td>&nbsp;</td></tr>
			<tr>

				<td>Height<input type="text" id="height" maxlength="4" />i.e. 1.2</td>
			</tr>
			<tr><td>&nbsp;</td></tr>
			<tr>
				<td>Age<input type="text" id="age" maxlength="2" /></td>
			</tr>      
			<tr><td>&nbsp;</td></tr>
			<tr>
				<td>BMI<input type="text" id="bmi" maxlength="3"/></td>
			</tr>                                  
			<tr><td>&nbsp;</td></tr>
			<tr><td>&nbsp;</td></tr>
                                                                                                                                                                                                                                                                                                                           
			<tr><td><input id="create" type="submit" value="Create Account" /><input id="cancel" type="button" value="Cancel" /></td></tr>-->
		</table>                                  
	</form>                        
{% endblock %}  